#ifndef __RTC_SD2506_H__
#define __RTC_SD2506_H__
typedef struct
{
    #define u8_t    unsigned char
    u8_t   second;
	u8_t	minute;
	u8_t	hour;
	u8_t	week;
	u8_t	day;
	u8_t	month;
	u8_t	year;
}RTC_TIME;

void RTC_Init();
void RTC_read_data(RTC_TIME* time);
void RTC_set_data(const RTC_TIME time);

#endif